package com.fs.cv.service;

import com.fs.cv.pojo.pojodao.Absence;
import com.fs.cv.pojo.pojoview.AbsenceCourse;
import com.github.pagehelper.PageInfo;

import java.util.Set;


public interface AbsenceService {
  PageInfo<AbsenceCourse> getAbsenceByPage(Integer currentPage, Integer pageSize);//分页查询考勤表
    Integer getBySname(String studentName);//根据学生名字查询Id
    Integer getByCname(String courseName);//根据课程名称查Id
    int addOne(Absence absence);//增加缺课学生
    int deletedOne(int absenceId);//删除缺勤学生
  //模糊查询
  Set<AbsenceCourse>getByName(String studentName);
}
